/**
 * 
 */
package org.rvk.vms.web.controller.secure;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author Ashish Kumar Sinha <aksinha.mail@gmail.com>
 *
 */
@Controller
@RequestMapping(value="/secure/placement")
public class PlacementController {
	
	@RequestMapping(value="/pending")
	public ModelAndView pending(HttpServletRequest request){
		request.setAttribute("page", "PLACEMENT");
		request.setAttribute("subpage", "PENDING");
		
		ModelAndView modelAndView = new ModelAndView("secure/placement/pending") ;
		return modelAndView;
	}
	
	@RequestMapping(value="/report")
	public ModelAndView report(HttpServletRequest request){
		request.setAttribute("page", "PLACEMENT");
		request.setAttribute("subpage", "REPORT");
		
		ModelAndView modelAndView = new ModelAndView("secure/placement/report") ;
		return modelAndView;
	}
}
